package legumes.client.ui.top;

import legumes.client.resources.PNResources;

import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.VerticalPanel;

public class TopPanel extends VerticalPanel {

	private TopMenuPanel topMenuPanel;
	
	public TopPanel() {
		super();
		setStyleName("topPanel");
		
		topMenuPanel = new TopMenuPanel();
		add(topMenuPanel);
		
		Image img = new Image(PNResources.INSTANCE.logoPrincipal());
		img.setAltText("Bienvenue sur le site du panier de l&eacute;gumes !");
		img.setTitle("Bienvenue sur le site du panier de l&eacute;gumes !");
		add(img);
		setCellHorizontalAlignment(img, VerticalPanel.ALIGN_CENTER);
	}
}
